<?php

if (isset($id) && $id != '') {
    $album = $photo_source->getAlbum($id);    
} else {
    $album = $photo_source->getDefaultAlbum();       
}

include('templates/showalbum.php');
